package com.sgcc.activiti.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * OAnomalyTypeDuration对象 o_anomaly_type_duration
 * 
 * @author sgcc
 * @date 2021-04-09
 */
public class OAnomalyTypeDuration extends BaseEntity
{
    private static final Long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 指标id */
    @Excel(name = "指标id")
    private Integer indexId;

    /** 时长 */
    @Excel(name = "时长")
    private Integer duration;

    /** 下一时长 */
    @Excel(name = "下一时长")
    private Integer durationNext;

    /** 分数 */
    @Excel(name = "分数")
    private Double score;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isFlag;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setIndexId(Integer indexId) 
    {
        this.indexId = indexId;
    }

    public Integer getIndexId() 
    {
        return indexId;
    }
    public void setDuration(Integer duration) 
    {
        this.duration = duration;
    }

    public Integer getDuration() 
    {
        return duration;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public void setIsFlag(Integer isFlag)
    {
        this.isFlag = isFlag;
    }

    public Integer getIsFlag() 
    {
        return isFlag;
    }

    public Integer getDurationNext() {
        return durationNext;
    }

    public void setDurationNext(Integer durationNext) {
        this.durationNext = durationNext;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("indexId", getIndexId())
            .append("duration", getDuration())
            .append("durationNext",getDurationNext())
            .append("score", getScore())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isFlag", getIsFlag())
            .toString();
    }
}
